Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Arcade TFMs according to TFM docs #14332

Merged
merged 4 commits into from
Jan 8, 2024

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Jan 2, 2024

  • Use "Tool" floating TFM properties for msbuild tasks and tools, i.e. Microsoft.DotNet.Arcade.Sdk.
  • Use "Minimum" floating TFM properties for libraries that support previous framework versions, i.e. XUnitExtensions.
  • Use "Current" floating TFM properties for libraries that support only the current framework version.

@ViktorHofer ViktorHofer self-assigned this Jan 2, 2024
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>true</IsPackable>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The library was marked as packable but never got consumed anywhere else than directly in Arcade.Sdk.csproj. It doesn't make sense to be packaged up.

- Use "Tool" floating TFM properties for msbuild tasks and tools,
  i.e. Microsoft.DotNet.Arcade.Sdk.
- Use "Minimum" floating TFM properties for libraries that support
  previous framework versions, i.e. XUnitExtensions.
- Use "Current" floating TFM properties for libraries that support
  only the current framework version.

Remove "NetToolMinimum" which isn't used and not necessary as our
tools/tasks don't multi-target.
@ViktorHofer ViktorHofer merged commit bf59935 into main Jan 8, 2024
15 checks passed
@ViktorHofer ViktorHofer deleted the UpdateTFMsAndCopyrightHeaders branch January 8, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants